package com.test.mytest.hessian;

import java.net.MalformedURLException;

import com.caucho.hessian.client.HessianProxyFactory;
import com.donglu.carpark.service.StoreHessianServiceI;
import com.donglu.carpark.service.Model.Info;

public class HessianClient {
	static HessianProxyFactory h = new HessianProxyFactory();
	private static HelloService helloService;

	public static void main(String[] args) throws MalformedURLException {
		helloService = (HelloService) h.create(HelloService.class, "http://127.0.0.1:9999/hello");
		System.out.println(helloService);
	}
}
